<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/common.css">
	<title></title>
</head>
<body>
	<div class='status'><span>待发货订单</span></div>
	<table class="table">
		<tr>
			<th>订单号</th>
			<th>收货人</th>
			<th>收货地址</th>
			<th>总价</th>
			<th>订单状态</th>
			<th>下单时间</th>
			<th>操作</th>
		</tr>
		<?php if(is_array($result)): foreach($result as $key=>$v): ?><tr>
				<td><?php echo ($v["number"]); ?></td>
				<td><?php echo ($v["consignee"]); ?></td>
				<td><?php echo ($v["address"]); ?></td>
				<td><?php echo ($v["total"]); ?></td>
				<td><?php echo ($v["status"]); ?></td>
				<td><?php echo (date('Y-m-d H:i',$v["time"])); ?></td>
				<td><a href="<?php echo U('orderList',array('oid'=>$v['id'],'order'=>'waitOrder'));?>">查看</a>| <a href="<?php echo U('set',array('oid'=>$v['id']));?>">发货</a></td>
			</tr><?php endforeach; endif; ?>
		<tr><td colspan='7'><?php echo ($page); ?></td></tr>
	</table>
</body>
</html>